home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / bfe.xml < prev    next >
Text File  |  2002-08-30  |  2KB  |  49 lines

  1. <search function="bfe">
  2.   <name>Bigfoot Email</name>
  3.   <description>
  4.     Search Bigfoot's index of email addresses by name.<br/>
  5.     <div class="helpboxDescLabels">Example:</div>
  6.     <table class="helpboxDescTable">
  7.           <tr><td>bfe Mark Rafn</td></tr>
  8.       </table>
  9.   </description>
  10.   <category>People and Places</category>
  11.   <link>http://search.bigfoot.com/</link>
  12.   
  13.   <form name="bfef"
  14.         action="http://search.bigfoot.com/SEARCH"
  15.         method="post">
  16.     <input type="hidden" name="FormName" value="Listing"/>
  17.     <input type="hidden" name="locale" value="en"/>
  18.     <input type="hidden" name="from" value="bigfoot"/>
  19.     <input type="hidden" name="FirstName"/>
  20.     <input type="hidden" name="LastName"/>
  21.     <input type="hidden" name="City"/>
  22.     <input type="hidden" name="State"/>
  23.     <input type="hidden" name="EmailSearch" value="1"/>
  24.   </form>
  25.   
  26.   <script><![CDATA[
  27.     function bfe(q)
  28.     {
  29.       if( nullArgs("bfe", q) )
  30.         return false;
  31.       else
  32.       {
  33.         var res = q.match(/(((\w+\s+)?\w+)\s+)?(\w+)(\s*\((([^,]+),?\s+)?(\w\w)\))?/);
  34.         
  35.         document.bfef.FirstName.value=(res[2] ? res[2] : "");
  36.         document.bfef.LastName.value=(res[4] ? res[4] : "");
  37.         document.bfef.City.value=(res[7] ? res[7] : "");
  38.         document.bfef.State.value=(res[8] ? res[8].toUpperCase() : "");
  39.         submitForm(bfef);
  40.       }
  41.     }
  42.   ]]></script>
  43.  
  44.   <copyright>
  45.     Copyright (c) 2002 David Bau
  46.     Distributed under the terms of the
  47.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  48.   </copyright>
  49. </search>